package com.choosefine.it.team.dao;

import com.choosefine.it.team.model.TeamCooperateBus;
import com.choosefine.it.team.model.vo.TeamCooperateBusVO;
import com.choosefine.it.team.model.vo.TeamSupplierInfoVO;
import com.choosefine.it.team.model.vo.queryAffiliatedUnitsVO;
import com.choosefine.it.team.model.vo.queryTeamVO;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

/**
 * Comments：班组合作商家相关
 * Author：maojun
 * Create Date：2017/2/17
 * Modified By：
 * Modified Date：
 * Why & What is modified：
 * Version：v1.0
 */
public interface TeamCooperateBusMapper {
    Page<TeamCooperateBusVO> queryTeamCooperateBus(Map<String,Object> params);

    Page<TeamSupplierInfoVO> querySupplier(Map<String,Object> params);

    int changePartnership(Map<String,Object> params);

    int saveTeamCooperateBus(TeamCooperateBus teamCooperateBus);

    List<queryTeamVO> queryTeam(Map<String,Object> params);

    List<queryAffiliatedUnitsVO> queryAffiliatedUnits(Map<String,Object> params);
}
